package com.grts.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.grts.dao.CurriculumcardMapper;
import com.grts.pojo.Curriculumcard;
import com.grts.service.CurriculumcardServiceI;

@Service
public class CurriculumcardServiceImpl implements CurriculumcardServiceI {

	@Resource
	private CurriculumcardMapper curriculumcardMapper;
	@Override
	public List<Curriculumcard> queryAll() {
		// TODO Auto-generated method stub
		return curriculumcardMapper.queryAll();
	}

	@Override
	public int insert(Curriculumcard record) {
		// TODO Auto-generated method stub
		return curriculumcardMapper.insert(record);
	}

	@Override
	public int insertSelective(Curriculumcard record) {
		// TODO Auto-generated method stub
		return curriculumcardMapper.insertSelective(record);
	}

	@Override
	public int updateByPrimaryKeySelective(Curriculumcard record) {
		// TODO Auto-generated method stub
		return curriculumcardMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Curriculumcard record) {
		// TODO Auto-generated method stub
		return curriculumcardMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<Curriculumcard> queryByCurriculumClassId(Integer curriculumClassId) {
		// TODO Auto-generated method stub
		return curriculumcardMapper.queryByCurriculumClassId(curriculumClassId);
	}

}
